$domain: "//node.500px.me";
$domain: '//cdn.500px.me';
$domain: "//pic.500px.me";
$fontSizeNum: 21;
@import "fn";
html {
  background: #f7f8fa;
  font-family: "Microsoft YaHei", "Helvetica Neue", Helvetica Neue, Helvetica, Arial, sans-serif;
  font-size: $fontSizeNum / 16 * 100%; /*10 ÷ 16 × 100% = 62.5%*/
  &.pxLightbox {
    overflow: hidden !important;
    height: 100%;
  }
  @media only screen and (max-width: 1379px) {
    & {
      font-size: ($fontSizeNum - 3) / 16 * 100%; /*10 ÷ 16 × 100% = 62.5%*/
    }
  }
  @media only screen and (max-width: 1179px) {
    & {
      font-size: ($fontSizeNum - 3 - 3) / 16 * 100%; /*10 ÷ 16 × 100% = 62.5%*/
    }
  }
  @media only screen and (max-width: 679px) {
    & {
      font-size: ($fontSizeNum - 3 - 3 - 3) / 16 * 100%; /*10 ÷ 16 × 100% = 62.5%*/
    }
  }
  &.windows {
    &, body {
      font-family: "Helvetica Neue", HelveticaNeue, Helvetica, TeXGyreHeros, FreeSans, "Nimbus Sans L", "Liberation Sans", "Microsoft YaHei", Arial, sans-serif;
    }
  }
}

//html{
//  text-rendering: optimizeLegibility;
//  -webkit-font-smoothing: antialiased;
//  -moz-osx-font-smoothing: grayscale;
//  //-webkit-font-smoothing: subpixel-antialiased !important;
//}
body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  //-moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 0;
  font-size: 12rem/$fontSizeNum;
}
*{
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
ul {
  margin: 0;
  padding: 0;
  li {
    list-style: none
  }
}
a {
  text-decoration: none;
  outline: 0
}
.flexbox {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
}

.flex {
  -webkit-box-flex: 1;
  -moz-box-flex: 1;
  -webkit-flex: 1;
  flex: 1;
}
.left {
  float: left
}

.right {
  float: right
}

.clearfix:after {
  content: " ";
  display: block;
  clear: both;
  height: 0;
}

.hidden {
  display: none !important;
}

.vHidden {
  visibility: hidden;
}

.px_topnav__link_text {
  -webkit-transition: opacity 0.2s ease-out, color 0.2s ease-out;
  -moz-transition: opacity 0.2s ease-out, color 0.2s ease-out;
  transition: opacity 0.2s ease-out, color 0.2s ease-out;
}

.webuploader-container {
  input {
    display: none;
  }
}

/*解决mac本下面chrome中下拉框一直是圆角的问题*/
select.select-common {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none
}

@media only screen and (max-width: 679px) {
  .instructions_contest {
    .weibo, .weixin {
      float: none;
    }
    .mobile_show {
      display: block !important;
    }
  }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px), (min-device-width: 320px) and (max-device-width: 568px) {
  * {
    -webkit-overflow-scrolling: touch
  }
}